package com.zuoye;

public class Demo8 {
    public static void main(String[] args) {
        int num = 5;
        /*if (num>=4&&num<=6){
            System.out.println(true);
        }else {
            System.out.println(false);
        }*/
        boolean TF = (num>=4&&num<=6)?true:false;
        if (TF) {
            System.out.println(true);
        } else {
            System.out.println(false);
        }

    }
}
